package com.siki.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.siki.dto.PageQueryUserDTO;
import com.siki.dto.SaveDepartmentInfoListDTO;
import com.siki.dto.UserDTO;
import com.siki.pojo.model.User;
import com.siki.vo.UserListInfoVO;


/**
 * @Author Siki
 * @Date 2020/3/2
 */
public interface UserService {

    /**
     * @Desecription: 添加一个User
     *
     * @Parm dto 报名信息
     * @Return 成功失败返回相应信息
     */
    void insertUser(UserDTO dto);

    Page<UserListInfoVO> PageSelectUserList(PageQueryUserDTO dto);

    User getUser(String userId);

    User saveDepartmentInfo(SaveDepartmentInfoListDTO dto);

    void delete(String id);
}
